Status of work on AOP at the OCM group, APRIL
نویسندگان
چکیده
The OCM (Objects, Components, Models) group of the computer science department at Ecole des Mines de Nantes is interested in Aspect-Oriented Programming (AOP). This report is a collection of three short articles presenting work in progress at our lab. We focus on two approaches: AOP from a monitoring perspective (articles 1 and 2) and different approaches to achieve AOP weaving (article 3). Whereas separation of concern is a most relevant and powerful concept, there are still few dedicated tools to implement this notion. Recently, AspectJ [KIC01] provides a first practical solution by offering both a domain specific language for defining crosscuts and a corresponding code weaver. In this article, we argue that crosscutting is the key notion of AOP which sets it apart from other code structuring techniques. We present execution monitors as a very general and operational model for crosscuts. This model should help to design better crosscut languages and code weavers. Customer requests Controller Service s c=select_customer prepare service call Billing ? charge(c, s) call_service(s) We believe that crosscutting is the key notion of AOP. Crosscuts relate together different program points or execution points such that common functionality can be inserted there. Imagine a controller (cf. the illustration above) that is intended to make secure a communication between clients and servers which are not security-aware. A typical way to achieve this is to use a multi-step protocol such as the following: first select a customer request, second perform a (potentially) complex computation in order to authenticate the partners and finally call a service. In such an application, the last selected customer is not available when a service is called. However, this information is mandatory in order to upgrade the application such that the service (not the controller!) can bill the customer. A conventional solution to this problem is to propagate the customer identity by threading this piece of information through the complex computation code (e.g. add an extra argument to all functions implementing this code). An AOP-like solution is to define a billing crosscut that relates a customer request selection with the corresponding called service. Execution monitors can naturally be used to define such a crosscut: they can detect specific sequences of actions occurring in the monitored program (e.g. a customer selection followed by a service call), pause the program execution, perform an action (e.g. call a billing function) and afterwards resume the program. This example demonstrates that …
منابع مشابه
UV/ H2O2 Advanced Oxidation Process for Simultaneous Removal of NO and SO2: A Review
This study presents a review on advanced oxidation processes (AOP) for simultaneous removal of NO and SO2. AOP is based on using a strong oxidant such as ozone and H2O2 which is able to generate highly reactive intermediates. The pollutant will be oxidized and removed by these intermediates. In recent years, AOP has been considered as an effective and attractive technology in the field of flue ...
متن کاملP-64: The Effect of Ovine Oocyte Diameter on Nuclear Maturation
Background: The study was carried out to investigate the relationship between the development potential and the diameter of ovine oocytes. Materials and Methods: Ovaries collected from a local abattoir were transported to the laboratory within 1-3 h of slaughter. The oocytes from follicles (2-6 mm in diameter) were recovered by aspiration and stored in a preincubated (at 38.6 C, 5% CO2 and maxi...
متن کاملMilestone No: M8.1 Work-package No: 8 Type: Integration Status: FINAL
This document is an overview of formal models for AOP. It covers most existing formalisms. Instead of explaining the technical details of each work, we identify key concepts for AOP, and mention how they are modeled.
متن کاملInvestigating Effect of Olfactory Stimulation by Vanilla on the Rate of Apnea Attacks in Neonates with Apnea of Prematurity: A Randomized Clinical Trial
Background Apnea of prematurity (AOP) is a developmental disorder that affects the premature newborns frequently. One of the new non-drug methods for controlling apnea attacks is olfactory stimulation. The aim of this study was to determine the effect of olfactory stimulation by vanilla on the rate of apnea attacks in neonates with AOP. Materials and Methods: This study is a single-blind random...
متن کاملPnm-17: Impact of Aerobic Training on Work Ability of Midwives Working in Health Care Centers in The City of Mashhad in 2013
Background: Maintaining and promoting work ability is an important social objective and are challenges facing the health care and rehabilitation system, as well as employers. Physical and mental health status impact on work ability. The aim of this study is to determine the impact of aerobic training on work ability midwives to work in health care centers in the city of Mashhad. Materials and M...
متن کامل